﻿using System;
using System.Linq;
using System.Text.Json.Serialization;

namespace Xc.DataAccess.OneNetCore.Services
{
    /// <summary>
    /// NB设备信息状态
    /// </summary>
    public class NbDeviceInfoStatus
    {
        /// <summary>
        /// 	设备ID
        /// </summary>
        [JsonPropertyName("id")]
        public string DeviceId { get; set; }
        /// <summary>
        /// 设备名
        /// </summary>
        [JsonPropertyName("title")]
        public string Title { get; set; }
        /// <summary>
        /// 设备在线状态
        /// </summary>
        [JsonPropertyName("online")]
        public bool IsOnline { get; set; }
    }
}
